package com.easyidea.its.facade.operationrecord.impl;

import java.util.Date;
import java.util.List;

import com.easyidea.its.domain.model.system.OperationRecord;
import com.easyidea.its.domain.service.operationrecord.OperationRecordService;
import com.easyidea.its.facade.operationrecord.OperationRecordMgr;

public class OperationRecordMgrImpl implements OperationRecordMgr {

	private OperationRecordService operationRecordService;
	public List<OperationRecord> getOperationRecords(Date startDate, Date endDate, int startAtIndex,
			int pageSize) {
		// TODO Auto-generated method stub
		return operationRecordService.getOperationRecords(startDate, endDate, startAtIndex, pageSize);
	}

	public int getOperationRecordsCount(Date startDate, Date endDate) {
		// TODO Auto-generated method stub
		return operationRecordService.getOperationRecordsCount(startDate,  endDate);
	}

	public OperationRecordService getOperationRecordService() {
		return operationRecordService;
	}

	public void setOperationRecordService(
			OperationRecordService operationRecordService) {
		this.operationRecordService = operationRecordService;
	}

}
